home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
cpp_libs
/
answrbok
/
8_6.lha
/
8_6
/
8_6_setbuf.c
< prev
next >
Wrap
Text File
|
1993-08-08
|
361b
|
16 lines
* Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */
* The C++ Answer Book */
* Tony Hansen */
* All rights reserved. */
/ Supply a character array for a buffer.
/ inline
treambuf *
streambuf::setbuf(char *buf, int len, int startlen)
base = gptr = buf;
pptr = buf + startlen;
eptr = base + len;
alloc = 0;
return this;